package com.llb666.e.shop.infrastructure.mapper;

import com.llb666.e.shop.infracore.mapper.MyMapper;
import com.llb666.e.shop.infrastructure.po.ItemsSpecPo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ItemsSpecMapper extends MyMapper<ItemsSpecPo> {

    public int decreaseItemSpecStock(@Param("specId") String specId,
                                     @Param("pendingCounts") int pendingCounts);
}